/**
 * 
 */
package cs3201.westga.edu.project_2;

import org.junit.Test;

import junit.framework.TestCase;


/**
 * @author cstamps2
 *
 */
public class TestSphere extends TestCase{
	
	@Test
	public void testGetVolume(){
		Sphere s = new Sphere(10);
		assertEquals(4188.790204786391, s.getVolume());
	}
	
	@Test
	public void testResize(){
		Sphere s = new Sphere(10);
		s.resize(.5);
		assertEquals(5.0, s.getRadius());
		s.setRadius(10);
		s.resize(2);
		assertEquals(20.0, s.getRadius());
	}
	
	
	

}
